A commutative algebraic approach to the fitting problem