Replaced == with eq for string comparison.