Some implementations of tree structures