The president was pleasantly surprised