fixed hw3`