My teenage son has been staying up until one and two in the morning to finish his homework , and then falling asleep in class the next day.. Thank goodness he recently came up with a possible fix: SelfControl, a free app he has installed on his computer.