Can you give the code snippet you have used to do the same.