Fixed equals method