Made eqn removal work