a detailed description of both protocols can be found