add textile mode