chap5 - extends