read section on generating matrices