added adapter and tests