Changed equals(Task A)