removed pretty_print