Basic sampling support working