added initial example code