removed unneeded strncmp