allow for arbitrary zero matrices