Doing same in adapters.py