changed input type from text to number