app_name reference added before call