while debugging the value str was `undefined`. not exactly sure why, but that was, what i've seen.