refactored ZRE sample classes