For using the samples