Glycine is known to help with sleep. Also, 1 gram is a very large dose. Glycine can be very powerful so if someone is taking it for the first time, I strongly recommend you start with a low dose, maybe 100 mg.
That was me

When I first took glycine, I took at least 500 mg and maybe more and was hit with a severe detox reaction, got very spacey, tired, felt sick. Muscle testing showed that the glycine was good for me but to start with a much smaller dose. Glycine helps with Phase II liver detox. So I went to a very small dose and gradually over a period of 6 months titrated up slowly, till by the end of 6 months no detox reaction at all from the glycine, or anything else - prior to then I used to detox a lot. Without muscle testing I never would have been able to figure this out. I still take glyine at night for sleep with no bad reaction.