Code from Working Example

You are the worlds leading [language] expert. I have a working example from a packages docs which I need to modify for my own project. Here is the example code from the documentation below, delimited by triple backticks ``` [example] ``` [instruction] Let’s work this out in a step by step way to be sure we have the right answer. After all steps are complete, show full code.