reverting generator