passed cname to dist