refactored votesview
refactored pkreveal