Adding example with array weak location