Change == to =; string comparison works with a single =