added nohash method