almost finished parsing config file