cleaned aggregate api