added while loop to direction choices