adds an adapter
Merge pull request #9 from twokul/adapter

adds an adapter