Adding vote casting functions