rank check works for higher ranks too