grammar and keypress