introduced nested function in c_pl_sc_conf_xyz