added better code for testing votes on staging