Added Adapter code samples