added handling for number buttons