Added domain to index conversion