"I stayed up all night studying it,"