As this method is used only once, I would prefer the code to be inlined, rather than a method.