added error handling for get adds