config first