added the BindPairs method to close #17