add a case when the value is not found in the obj