determining if a value exists