edited cofog and aggreate classification