Added scratch exmple code
Commiting pull changes from Joe