added Stats API