metadata aggregation - started coding