Add threading which is a bit weird
Finishes for IFTF