added complete matrix