pretty print records