created adapter for IDocument also, TODO: multiadapter