initial work on an adapter