change setRId to setRepicaId, add something to recvPrepareReply()