Complete exercises 1-8