added source code for sample in tutorial