CAG: adding instance_name

closes #8