Moved vote into model