added override for equals, to streamline object matching