Adding new util functions to examples