implementation of consensus filtering.