working on tree based inside/outside code