add complete_afr_ids() to determine complete afrs