modified getmultirank