why do you need to test if it's a string?