Fixed bugs in Votes. Added dig.