Changed inputs from text to number