Implemented voting database