added s->add to 2 threads