add rank check to skip