worked on loops, still struggling