refactor process wip