added SpinFit feature