making searching elections work