added ex 3 4