reading user input using prompt