got the nesting working right