first attempt at chap 1, ex. 10