started to implement the elections demo