start hw6 based on hw5