added strncmp