HW6 create model