Commit for input from Scanner