Added keyboard input.