Updated examples ex02b and ex04b