Stay away from the brand name Ambien XL. It's a time release formula, created as a way to keep some type of exclusivity once the patent expired on the regular formula.
Boy, they just make me groggy in the morning. Last time I felt like that was 15 years ago backpacking through guatemala. I had to take a 14 hour bus ride from Antigua to Tikal over unpaved road overnight. I went to the pharmacy and bought some valium over the counter (those were the days). I had no idea how much to take. I took 4 pills (40mg). Oops. 14 hours later, getting off the bus, I still couldn't walk a straight line. LOL.