Now responds to key input