fixed hw3