Troubleshooting error, added debugging lines