added an constants hash to convert keypad numbers to array indices