example1 on the Adapter design pattern