ranking works, tie breaking missing