add more tests
don't rank when rank is false