add votes as attribute