fixing an error in the code; have to input value for prompt