pass in the contextPair to the handler