basic keypresses implemented