nit: change variable name from keyboard_frame to keypad_frame