reworking config