added interface for go tree