adding string check