Adapter tutorial