add codes from the DB side