Implement sampleModel: