don't use range as variable name this would shadow the range() function for further usage

changed the name collections to iterator