hw2e modified