A new study found that limiting children’s screen time to two hours a day can improve brain function.

The study, published by The Lancet Child and Adolescent Health, looked at around 4,500 children ages 8 to 11 and compared their sleep schedules, exercise and screen time to the national guidelines for children’s health. According to the guidelines, children in that age group should not spend more than two hours in front of a screen, should get somewhere between 9 to 11 hours of sleep and should get at least an hour of physical activity a day.

Researchers found that of those 4,500 children, only 5% met all the suggested guidelines.

The study revealed that only 51% of the children got the recommended sleep time, 37% got the recommended screen time and 18% met the physical activity requirement.