modify hash creation