reordered parameters in sample to better indicate options