preparing for samples