built out equality methods and made the tests pass