Sorry. This should be deleted. I am debugging and try to trace down the problem, so I add the panic(). 
Could you look at the previous comments to help me make sure my understanding is correct.