make func calls threads