selection revision exercise 6