add crossreference check