add read config sample