completed initial sections of tutorial 2