Adapter Design Pattern code: 6