converted demo project to ARC