prepared for homework4