Example 7c: Adding a layer (full control)