Nitrazepam is well known medicine for insomnia. If you have sleep apnea this medicine is also useful.