addition about text mode