working on config structure