adding ex02 of chapter01