1st commit for coresidency checking