working on configuration reading