changed string printout structure