The adapter pattern in a nutshell