implemented worker and media aggregation