voting module functional