Added local pretty print functions

Correction