moving sample & sample-data