perserving user input