framework for determining mods