refactor five