iterating over wrong thing