add gm as a dependency.