added lastNRawStatsRes API