we always assign a string value to str, don't pointlessly initialize it to null