voting system working in votescontroller