adapter doctring