wrote hw5