beautified print output close #9