does result = val?