statistics extensions