initial rankall.R