added adapter for purchases