iterating on keypresses now to test the logic