Complete exercises 6.5