Added initial code for votes