added fit4 using m2g