use vote types, closes #11