Early version of generator