implemented tree walker example