for the time being, aggregation is made and casted as int