Everything for homework4 submission