Replaced CST data type with Tree data type