Added function without destRank