improvement to the song hashing