WHILE loop assignment