changed input to string