Smart phone sleep apps, melatonin, and products like Jawbone Up are ways for the military to combat poor sleep, reports Military Times.

It’s been thought that military sleep problems are related to combat exposure or post-traumatic stress. But new research shows that deployment itself may play a major role in both developing sleep disorders and retaining them after deployment.

“In one study, 100 percent of veterans with PTSD had sleep problems and 90 percent without PTSD reported them, and many who deploy don’t return to predeployment sleep levels when they come back,” says Dr. Christopher Nelson, a Naval Hospital Camp Lejeune, North Carolina, psychiatrist.