first step to get aggregate

first step to get aggregate