trying out adapter pattern