more ch09
nearly finished ch09