Changing the trunk drawing function