better tree representation