keypad example finally works