c_pl_sc_conf_xyz: improving nested functions