altered the if statement to have three = signs.