Added complete vote functionality