checking strncmp