skelton ranking function