marker when key is pressed