refactored generator meta