After local ethics committee approval and written parental consent , 67 ASA class I - II patients aged between 2-7 years old scheduled for elective inguinal hernia repair were allocated randomly into two groups after general anesthesia with same drugs in both groups .