supports loading config