better logging
implemented ballot update
added sanity check to ranking in a paper