while loops and for loops