changed goodHashFunctor so there were no errors