add matrix terminal