removed unused denest method