return value after it is discovered