added ch6 assignment