added rudimentary consensus search