initialize variable str