Modified the layout to use another layer