some thread safing done
some thread safing done