fixed string comparison, and ending node