refactoring recipes with more templates