arguably better solution to reading config.