Added use of new interfaces to example sketch