working on hand ranker
fixing bug
tests passing