add conf struct