added explanation for ex 9