changed string output to conform to specs