adding prettyprint class