some clean-up. add prompt like display when prompting for user input.