changes in make_rec f-n