Hello, can you guide me on how i can create a function and use it in a collection as you suggested in the post? Thanks