problems with my vote method