Some fun with aggregation framework