changed equal.ref