d-region & code