basic functions for Trunk & Branch