Amended code
Added changerefgroup.ds