keypad functs spec