Removed extra variable from user input functions