Added some example code from the Netbook.