result might be set to "nil" at this point.