started work on the DB conversion for the mapping