put to a thread