Added getConsensus as work in progress