added rankall.R