setting config initially