support generate stats