make distinguishment
change that to self, make containNodes more robust