added documentation for the clearvotes method