Hi, and welcome to the forum!
Here is an example to do what you want:
Let us know if you have any questions.