cleared code for tutorial