small update to aor code