add oversampling control