initial adapter design pattern demo