done the second minitutorial part