add TwIST funct