keyboard input final