added cname and index