adapter example