The seven men and two women had all taken modafinil or armodafinil—prescription only drugs designed to treat narcolepsy, a condition that impairs a person's ability to sleep or stay awake.