changed output to string