see https://docs.google.com/document/d/1rsXucUnxyY5IEoQVmBmtszreiqJ2CepuU0cSqKyfXNw/edit#heading=h.qgapz65kpy1q for a specification/discussion