global matrix