previous commit was not a fix
added keypress handlers