changes in b_profile and tree