pairing tests pass
pairing algorithm complete
reviewed changes
merge