add option for sample