Adding the DB portions