new code related to threads

new code related to threads