added ex 2-7