add key press event detection