changed gemset to aggcat