finished ch 4
uncomment this version