updating code to work with arc