convert demo to ARC