he spent the night working on it