further improvements added to keypad.