add index and encoded name to region