messing around with trees and lists.