adding genrator