ready to code for multi-threads.