add ex 1.22 and explaination