DRY stats enter/exit functions