set a base adapter