* Working on writing back to the database