add print, print_pretty etc