added voting; still needs some fixes