final demo composite pattern with layout debugger