"user types 'bye' the function returns a record of the input it received." . . . .