use seprate thread to cal dealing info