This will be a prospective, randomised, controlled study. All consented patients scheduled to undergo elective total knee or total hip arthroplasty under spinal anesthesia will be included in the study. A written informed consent will be obtained from all patients participating in the study.