Added aggregate method