Fixed broken example code in tutorial