equal pairing name checking