added very basic voting functionality