Man goes to sleep instead of studying