add generate functionality to pairings#index