ch13~ch15 examples