First working version of HG1G2 fit