use `print` to show deprecated warning for simplicity