Coding done by Pairing