added ex 2, 5, and 8