nesting now works all the time