We've all experienced sleepless nights.