add keypad method