Adding code to place the data in the DB