finished chapter 1 of tutorials