added functions to replace m3@calls and m3@accesses with resolved calls