objective tree method example