not successful on using threading module. new idea on using concurrent.futures module