added new tree representation