modify homework6