first draft of config.c compiles okay