working on config reading