iv got the while loops so that if it is an error i want it to re get the user input