changed the input type to string