use strcasecmp to ignore case