added ex 3