Maybe just initialize result to `[nil, nil]` immediately at the top of the method?