Added equals() method