Melatonin while pregnant


Has anyone ever take melatonin when pregnant? I have difficulty sleeping and not because of my every changing body but because I just always have had trouble falling asleep. Last night I only slept 5 hours I just couldn’t sleep. Anyone else have the same problem? Or any natural remedies?