CS3 students, DefaultHash does not work with C++ strings as the type parameter so do not try to use them. Your textbook provides a more complete implementation but the code is more complex. Thanks, -- Mikhail