Added first, incomplete adapter version