The investigators designed a study to determine whether Propofol or Sevoflurane would provide same postoperative sleep quality in patients undergoing thyroidectomy.The bispectral index score (BIS) was monitored during the operation and the first postoperative night.