improved print out