changed = to == in if statement.