backend logic allowing for voting for different time slots