adjust to imas_cg_tools