made create_pairings() stop throwing errors at my face