Second homework corrected