chap 3 with transpose