towards rank transformation