add exid based on the string