Simplified the report_all_instances function