basic stats module - API part