Any chance of adding a code snippet showing how to achieve the desired result?