fixed hw 4