homework_lect6_with_comment