unified bsmp vars and bsmp funcs approach