added filters and better validation to ingredients