New research shows another reason why you should be getting a good night’s sleep: it could help save your memories, reports CBS News.

A study  published recently in the journal Cell Press found that as we age, the connection between sleep and memory formation begins to show signs of breaking down. Brain waves become unsynchronized, and because of that, the brain fails to keep new memories while we sleep.

“What we found is that in young, healthy adults, the deep-sleep brain waves are perfectly synchronized in time and that synchronization helps you essentially hit the ‘save button’ on your memories,” Matthew Walker, who co-authored the study, told “CBS This Morning.” “But as we get older those deep-sleep brain waves become mistimed.”