An example added to show the functionality