added ex 5 and 6 Chris