Inclusion Criteria:  Age between 18 and 65 years American Society of Anesthesiologists physical status I-II-III Body mass index between 18-35 kg/m2 Patients undergoing elective thoracic surgery  Exclusion Criteria:  Advanced cancer History of chronic analgesic therapy Patients with previous thoracic surgery Patients who were operated under emergency conditions