nesting working better