Implement hybrid sampling api