adding adapter_class to config