phosphate and nitrate control