Nesting works!

cc @jbpros
Add todo
Remove debug