while loop for input in progress