refactor recipes