add tree problem