working prototype sans keypress events