New function added to example code