Broken at the moment, trying to make hashcode method work