add Check Matrix