add some debug stats