now importing StatsBase.fit