added keydown listener