global reset added to classes