working on reading config