Refaktoring: enumerate added to loops instead of range(len(some_list)).