change to accept user input