added stubbing for vote functionality