very first version of the generator