passing config