changed name to read config