New: consenusalogorithm