lose some manual iterations through lists …
python provides a way to iterate through a list, there's no need to handle indices ourselves