scheme_cb.h factorization