use Math::Sma
fix indent