- Updated sample code

refs #3