adding twisted