finish homework Q6 and correct some mistakes