sketched out lesson on matrix-types