made print_object static