Should I sleep or write my essay?