added imnet aggregation layer