iterating through the wrong thing?