Added an example utilising the new methods