we have the function for this now, just need to add to the example code
we have the function for this now, just need to add to the example code