used a layout with yield