checking for null strings now