refactor cookbook