equals override solved