add three tree problems.