voting mechanism functional