It’s bad to drive while sleepy, but how bad is it? One new study examined how lack of sleep impacts driving habits, Good 4 Utah reports.

In a sleep deprivation study, a hand full of participants stayed up for 24 hours straight and was then monitored in a sleep study room. Dr Chris Hammond from the Ogden Clinic monitored their brain waves to show how sleep deprivation affects how people function.