caking using fit2d