reduce object creation
Merge pull request #2 from msfuko/thread

reduce object creation