Here is an example of how this function can be used