added keydown event listeners