More debugging...close to get the right cycle.