use factory in adapter