Adding example flattening