Debug printing was added.