added tree accessors