why is this a string compare?