majority and adam consensus methods