refactor vote arrow classes helper