Worked on voting api