Generator improved