added error handling for AR add