declaring the aggregations
should handle enums
more ... but lacking enum handling