adds ar connection managment