modification for homework7
as previous one