modified hash sample