make the input and output to be string format