extract common code to voteable module