phase to zero modifications to remove unneeded code.