move pairing to its own class to mitigate the wrath of @cgutman