Deleted infinite user input loop