refactoring. change idCollector, report formating, aggMetirc