writing a paper the night before