config struct added