now can inject key event