added outline of function tree walk