list nesting works (with bugs)