Refactor process to handle frozen hash