used an = instead of a ==