add basic upvoting algorithm
fix from helpers to events