can you give an example code with the preview you gave? so that we can have a basis of our code. thank you!