Monitoring anesthetic depth by