change pretty print to a boost equivalent