changed input to number