add ref to ldig