not sure how to implement it. Can you give me an example? Thanks