removed var=2 from pseudoRank()