A young girl requires a liver transplant due to failure of her liver to function. what is required for her to have a good prognosis and why