changed to work with additions to AR addon