Exploration of adapter pattern