ch6: improvements