Added votes functionality.