continued working on updating sampling clsas