added adapter utils