working on introfp chap 4.2