What was used during surgery to relieve patients of their pain?