slighly revising printout