This method contains the logic we need to have in place. If you can think of a way to abstract it behind a framework or something, I'm all ears. This seems like a straightforward way to simplify the problem to me.