HW6 configure model