Basics for trees