Simple version for the generator