added get stats option