change equals to isEqualTo