add dynamic_layouts example