added index and cname