add config for sample