add stats method