while and for loop