added revote functionality, fixes #23