finalizing sacMod codes