Corrected string comparison to using "eq" instead of "=="