A patient suffering from sickle cell anemia received a bone marrow transplant which function of the bone marrow helps in treating this blood disorder?