Finish the homework3