added adapter sample