Pulling out debug code phase one, moving closer to final product.