rankall.R added