added basic voting