adding better support for agora-elections