added first version of run_dnc for phi constants