added inputFromUser