added demo mode to show keystrokes