Added probability checking on each rank