tested with smallsample