Add prints to find out errors