added some troubleshooting logs