new aggreagation framework api helper