ResRework: ADAPTING samples/TextTree