hw5 is revised