some changes in equals