starting to add a keydown function