added textile support