add fetch_sample