updated chap 6 for final release