before adding config