refactor(hash) change structure