changed config pattern