Can you add a comment why we do the substring comparison.