v6 - exercises 2 & 3