checking if new value exists