tackling class based in equalities