create Generator