add save_votes functionality