enable a user to use the print_pretty feature