add ranked set layer, tests pass