index and list domains functions