for homework4