modified press_digit to accept numberic digit arg