merging thread.py