changed input from text to number