make the cfg.ds fn have an optional cb