changes in DBManager, created Statistics