working on getting voting API call to work