Troubleshooting print statements