refactoring of recipies