modified hash behavior