chem prob func is revised