implementation of the famous ox-protocol