edited AD.R file