removed an iteration from print_schema