hw6 add code for ex3