extracting data into a db service