implemented Stats action.