Immediate-release melatonin can be used for people who have trouble falling asleep, i.e. delayed sleep onset at the beginning of the night.