Preliminary version of the lhe producting version