Adding aggregate class