getStats call added