hw5 is now working