add local storing of user input