'finished AR extend code'