Holding down a job, not getting enough sleep (or getting too much) and studying later in the day all lower the likelihood of passing the bar exam, a new study by AccessLex has found.

The study—entitled “Approaching the Bar: An Analysis of Post-Graduation Bar Exam Study Habits”—asked 107 California law school graduates to keep a time-diary and record their activities in 30-minute increments in an effort to understand the factors behind bar passage rates. The findings could be instructive for law firms looking to help their upcoming associates succeed at the test that will allow them to jump in as fully licensed legal professionals.