Adding validation to recipes