hw5 and hw6