modified outout formatting