added number type to input boxes
added additional tap handlers