working on stylus nesting tree traversal