Updated the class to exclude siblings