Edit: adapter.py