master reset added. updated the vote reset scheduler algorithm.