Add printing for debugging