More Efficient Way?

So theoretically, this would work, then? Reading the code, it seems to make sense in my head.