working copy of generator added