some tree problems