added adapter for retrieving data