Temazepam
"Have had sleep problems for 30 years or more.Of all the meds that the doc's gave me  I do think the temazepam 30 mg works best for me. As some others have said that it should be taken at bedtime...not be on computer or tv..i will nod with the tv on but find that i fall in to a more restful sleep when i turn it off. Also for me it does not last long. 2 or 3 hours. I don't take extra doses to get back to sleep .Have been taking this for 5 years with no brain fog in the morning. Occasionally i substitute Ativan for a short time and then go back to taking temazepam . For me this seems to work well and the temazepam seems to remain quite effective."