made compatible with latest statistico