correct linking added to M2