renamed apis, added aggstats api