prepare for sample transfer