some work on config reader