changed input from int to string