move input functions to input code file