adding files to merge work
wrote the methods for the voting functionality